{% extends 'IcsocUIBundle::base.html.twig' %}

{% block content %}
    <div class="wysiwyg-editor" id="editor1"></div>
    <div class="widget-box widget-color-blue">
        <div class="widget-header widget-header-small"></div>
        <div class="widget-body">
            <div class="widget-main no-padding">
                <textarea name="content" data-provide="markdown" rows="10"></textarea>
            </div>
        </div>
    </div>
{% endblock %}
{% block footer %}
    {% javascripts
    '@wysiwyg_js'
    '@markdown_js'
    filter='uglifyjs'
    %}
    <script src="{{ asset_url }}"></script>
    {% endjavascripts %}
    <script>
      jQuery(function($){
        $('#editor1').ace_wysiwyg().prev().addClass('wysiwyg-style2');

     });
    </script>
{% endblock %}